package com.ibeeking.found.msg.rest.service;

import com.ibeeking.found.msg.service.common.bo.MpAutoMessageKeyBO;
import com.ibeeking.found.msg.service.common.query.KeyWordQuery;

import java.util.List;

/**
 * @ClassName IMpAutoMessageKeyService
 * @Description
 * @Author ibeeking
 * @Date 2021-02-07 11:30
 **/
public interface IMpAutoMessageKeyService {

    /**
     * 修改
     *
     * @param messageId
     * @param appId
     * @param keys
     * @return
     */
    Boolean modify(Long messageId,String appId, List<String> keys);

    /**
     * 删除
     *
     * @param messageId
     * @return
     */
    Boolean deleteByMessageId(Long messageId);

    /**
     * 查询
     *
     * @param messageId
     * @return
     */
    List<MpAutoMessageKeyBO> queryByMessageId(Long messageId);

    List<MpAutoMessageKeyBO> queryByKeyWord(KeyWordQuery query, boolean allEquals);
}
